package com.ruoyi.stat.employee.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.api.dto.employee.EmployeeStatDto;
import com.ruoyi.api.dto.employee.EmployeeTypeStatDto;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.stat.employee.domain.EmployeeStat;
import com.ruoyi.stat.employee.domain.vo.EmployeeStatVo;

/**
 * 人员统计数据汇总Mapper接口
 *
 * @author cc
 * @date 2023-04-28
 */
public interface EmployeeStatMapper extends BaseMapperPlus<EmployeeStatMapper, EmployeeStat, EmployeeStatVo> {
	
	int createStatDate(@Param("queryTime") String queryTime);
	
	EmployeeStatDto getEmployeeStatDto(@Param(Constants.WRAPPER) Wrapper<EmployeeStat> queryWrapper);
	
	List<EmployeeTypeStatDto> getEmployeeTypeStatDtoList(@Param(Constants.WRAPPER) Wrapper<EmployeeStat> queryWrapper);
}
